<!DOCTYPE html>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">

<%@include file="/resources/components/baseIncl/base/css.inc"%>
<%@include file="/resources/components/baseIncl/base/js.inc"%>

</head>
<body>
	<div data-role="page" id="BodyBackground">
		<div id="Heading" data-role="header">Amphora</div>
		
		<div data-role="main" class="ui-content">
			<form action="/ClientAction?lg" method="post">
				<div id="loginDetails">
					<span><input type="text" name="username" placeholder="Username"></span>
					<span><input type="password" name="password" placeholder="Password"></span>
					<span><input type="submit" name="login" class="ui-btn ui-icon-lock ui-btn-icon-right ui-btn-a" value="Login"></span>
					<br>
					<span id="register"><a href="/RegisterAction?view">Register Now</a></span>
					<br>
					<span id="forgotPassword"><a href="/">Forgot your password?</a></span>
				</div>
			</form>
			<div id="message">
				<br>
				<c:out value="${message}"></c:out>		
			</div>
		</div>
	</div>
</body>
</html>